[INFO] fetching crate rips-packets 0.1.0...
[INFO] checking rips-packets-0.1.0 against master#158f00a1c5175648af6f6099b075f78d1d014a28 for pr-121251
[INFO] extracting crate rips-packets 0.1.0 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate rips-packets 0.1.0 on toolchain 158f00a1c5175648af6f6099b075f78d1d014a28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate rips-packets 0.1.0
[INFO] finished tweaking crates.io crate rips-packets 0.1.0
[INFO] tweaked toml for crates.io crate rips-packets 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6adc5e8211f6f55deee3bc1c0e4aeaf1ac9fce027e5adb423ebcf2dc10af04c1
[INFO] running `Command { std: "docker" "start" "-a" "6adc5e8211f6f55deee3bc1c0e4aeaf1ac9fce027e5adb423ebcf2dc10af04c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6adc5e8211f6f55deee3bc1c0e4aeaf1ac9fce027e5adb423ebcf2dc10af04c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6adc5e8211f6f55deee3bc1c0e4aeaf1ac9fce027e5adb423ebcf2dc10af04c1", kill_on_drop: false }`
[INFO] [stdout] 6adc5e8211f6f55deee3bc1c0e4aeaf1ac9fce027e5adb423ebcf2dc10af04c1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c9ff71bb6bc00a7b145692ec8215b771c588c08b0de09f8676c38707797c7d3e
[INFO] running `Command { std: "docker" "start" "-a" "c9ff71bb6bc00a7b145692ec8215b771c588c08b0de09f8676c38707797c7d3e", kill_on_drop: false }`
[INFO] [stderr]     Checking rips-packets v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/ethernet/macaddr.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 |         self.description().fmt(f)
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/ethernet/macaddr.rs:115:19
[INFO] [stdout]     |
[INFO] [stdout] 115 |         (self as &fmt::Display).fmt(f)
[INFO] [stdout]     |                   ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 115 |         (self as &dyn fmt::Display).fmt(f)
[INFO] [stdout]     |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/ethernet/macaddr.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 |         self.description().fmt(f)
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/ethernet/macaddr.rs:115:19
[INFO] [stdout]     |
[INFO] [stdout] 115 |         (self as &fmt::Display).fmt(f)
[INFO] [stdout]     |                   ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 115 |         (self as &dyn fmt::Display).fmt(f)
[INFO] [stdout]     |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused
[INFO] [stdout]    --> src/macros.rs:154:18
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type;
[INFO] [stdout]     |                   ---------------------------------------------
[INFO] [stdout]     |                   |     |
[INFO] [stdout]     |                   |     backing allocation comes from here
[INFO] [stdout]     |                   casting happend here
[INFO] [stdout] 154 |         unsafe { *ptr = $value };
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ethernet/mod.rs:30:9
[INFO] [stdout]     |
[INFO] [stdout] 30  |         write_offset!(self.0, 12, ether_type.value(), u16, to_be)
[INFO] [stdout]     |         --------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: casting from `u8` (1 bytes) to `u16` (2 bytes)
[INFO] [stdout]     = note: `#[deny(invalid_reference_casting)]` on by default
[INFO] [stdout]     = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused
[INFO] [stdout]    --> src/macros.rs:154:18
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type;
[INFO] [stdout]     |                   ---------------------------------------------
[INFO] [stdout]     |                   |     |
[INFO] [stdout]     |                   |     backing allocation comes from here
[INFO] [stdout]     |                   casting happend here
[INFO] [stdout] 154 |         unsafe { *ptr = $value };
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/arp.rs:58:9
[INFO] [stdout]     |
[INFO] [stdout] 58  |         write_offset!(self.0, 0, hardware_type.value(), u16, to_be)
[INFO] [stdout]     |         ----------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: casting from `u8` (1 bytes) to `u16` (2 bytes)
[INFO] [stdout]     = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused
[INFO] [stdout]    --> src/macros.rs:154:18
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type;
[INFO] [stdout]     |                   ---------------------------------------------
[INFO] [stdout]     |                   |     |
[INFO] [stdout]     |                   |     backing allocation comes from here
[INFO] [stdout]     |                   casting happend here
[INFO] [stdout] 154 |         unsafe { *ptr = $value };
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/arp.rs:62:9
[INFO] [stdout]     |
[INFO] [stdout] 62  |         write_offset!(self.0, 2, protocol_type.value(), u16, to_be)
[INFO] [stdout]     |         ----------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: casting from `u8` (1 bytes) to `u16` (2 bytes)
[INFO] [stdout]     = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused
[INFO] [stdout]    --> src/macros.rs:154:18
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type;
[INFO] [stdout]     |                   ---------------------------------------------
[INFO] [stdout]     |                   |     |
[INFO] [stdout]     |                   |     backing allocation comes from here
[INFO] [stdout]     |                   casting happend here
[INFO] [stdout] 154 |         unsafe { *ptr = $value };
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/arp.rs:74:9
[INFO] [stdout]     |
[INFO] [stdout] 74  |         write_offset!(self.0, 6, operation.value(), u16, to_be)
[INFO] [stdout]     |         ------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: casting from `u8` (1 bytes) to `u16` (2 bytes)
[INFO] [stdout]     = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused
[INFO] [stdout]    --> src/macros.rs:154:18
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type;
[INFO] [stdout]     |                   ---------------------------------------------
[INFO] [stdout]     |                   |     |
[INFO] [stdout]     |                   |     backing allocation comes from here
[INFO] [stdout]     |                   casting happend here
[INFO] [stdout] 154 |         unsafe { *ptr = $value };
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ipv4.rs:91:9
[INFO] [stdout]     |
[INFO] [stdout] 91  |         write_offset!(self.0, 2, total_length, u16, to_be);
[INFO] [stdout]     |         -------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: casting from `u8` (1 bytes) to `u16` (2 bytes)
[INFO] [stdout]     = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused
[INFO] [stdout]    --> src/macros.rs:154:18
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type;
[INFO] [stdout]     |                   ---------------------------------------------
[INFO] [stdout]     |                   |     |
[INFO] [stdout]     |                   |     backing allocation comes from here
[INFO] [stdout]     |                   casting happend here
[INFO] [stdout] 154 |         unsafe { *ptr = $value };
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ipv4.rs:95:9
[INFO] [stdout]     |
[INFO] [stdout] 95  |         write_offset!(self.0, 4, identification, u16, to_be);
[INFO] [stdout]     |         ---------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: casting from `u8` (1 bytes) to `u16` (2 bytes)
[INFO] [stdout]     = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused
[INFO] [stdout]    --> src/macros.rs:154:18
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type;
[INFO] [stdout]     |                   ---------------------------------------------
[INFO] [stdout]     |                   |     |
[INFO] [stdout]     |                   |     backing allocation comes from here
[INFO] [stdout]     |                   casting happend here
[INFO] [stdout] 154 |         unsafe { *ptr = $value };
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ipv4.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 |         write_offset!(self.0, 6, new_byte, u16, to_be);
[INFO] [stdout]     |         ---------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: casting from `u8` (1 bytes) to `u16` (2 bytes)
[INFO] [stdout]     = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused
[INFO] [stdout]    --> src/macros.rs:154:18
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type;
[INFO] [stdout]     |                   ---------------------------------------------
[INFO] [stdout]     |                   |     |
[INFO] [stdout]     |                   |     backing allocation comes from here
[INFO] [stdout]     |                   casting happend here
[INFO] [stdout] 154 |         unsafe { *ptr = $value };
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ipv4.rs:118:9
[INFO] [stdout]     |
[INFO] [stdout] 118 |         write_offset!(self.0, 10, checksum, u16, to_be);
[INFO] [stdout]     |         ----------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: casting from `u8` (1 bytes) to `u16` (2 bytes)
[INFO] [stdout]     = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused
[INFO] [stdout]    --> src/macros.rs:154:18
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type;
[INFO] [stdout]     |                   ---------------------------------------------
[INFO] [stdout]     |                   |     |
[INFO] [stdout]     |                   |     backing allocation comes from here
[INFO] [stdout]     |                   casting happend here
[INFO] [stdout] 154 |         unsafe { *ptr = $value };
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ipv4.rs:122:9
[INFO] [stdout]     |
[INFO] [stdout] 122 |         write_offset!(self.0, 12, source.octets(), [u8; 4]);
[INFO] [stdout]     |         --------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: casting from `u8` (1 bytes) to `[u8; 4]` (4 bytes)
[INFO] [stdout]     = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused
[INFO] [stdout]    --> src/macros.rs:154:18
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type;
[INFO] [stdout]     |                   ---------------------------------------------
[INFO] [stdout]     |                   |     |
[INFO] [stdout]     |                   |     backing allocation comes from here
[INFO] [stdout]     |                   casting happend here
[INFO] [stdout] 154 |         unsafe { *ptr = $value };
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ipv4.rs:126:9
[INFO] [stdout]     |
[INFO] [stdout] 126 |         write_offset!(self.0, 16, destination.octets(), [u8; 4]);
[INFO] [stdout]     |         -------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: casting from `u8` (1 bytes) to `[u8; 4]` (4 bytes)
[INFO] [stdout]     = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused
[INFO] [stdout]    --> src/macros.rs:154:18
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type;
[INFO] [stdout]     |                   ---------------------------------------------
[INFO] [stdout]     |                   |     |
[INFO] [stdout]     |                   |     backing allocation comes from here
[INFO] [stdout]     |                   casting happend here
[INFO] [stdout] 154 |         unsafe { *ptr = $value };
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ipv6.rs:40:9
[INFO] [stdout]     |
[INFO] [stdout] 40  |         write_offset!(self.0, 4, payload_length, u16, to_be);
[INFO] [stdout]     |         ---------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: casting from `u8` (1 bytes) to `u16` (2 bytes)
[INFO] [stdout]     = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused
[INFO] [stdout]    --> src/macros.rs:154:18
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type;
[INFO] [stdout]     |                   ---------------------------------------------
[INFO] [stdout]     |                   |     |
[INFO] [stdout]     |                   |     backing allocation comes from here
[INFO] [stdout]     |                   casting happend here
[INFO] [stdout] 154 |         unsafe { *ptr = $value };
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ipv6.rs:52:9
[INFO] [stdout]     |
[INFO] [stdout] 52  |         write_offset!(self.0, 8, source.octets(), [u8; 16]);
[INFO] [stdout]     |         --------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: casting from `u8` (1 bytes) to `[u8; 16]` (16 bytes)
[INFO] [stdout]     = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused
[INFO] [stdout]    --> src/macros.rs:154:18
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type;
[INFO] [stdout]     |                   ---------------------------------------------
[INFO] [stdout]     |                   |     |
[INFO] [stdout]     |                   |     backing allocation comes from here
[INFO] [stdout]     |                   casting happend here
[INFO] [stdout] 154 |         unsafe { *ptr = $value };
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ipv6.rs:56:9
[INFO] [stdout]     |
[INFO] [stdout] 56  |         write_offset!(self.0, 24, destination.octets(), [u8; 16]);
[INFO] [stdout]     |         --------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: casting from `u8` (1 bytes) to `[u8; 16]` (16 bytes)
[INFO] [stdout]     = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rips-packets` (lib) due to 14 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused
[INFO] [stdout]    --> src/macros.rs:154:18
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type;
[INFO] [stdout]     |                   ---------------------------------------------
[INFO] [stdout]     |                   |     |
[INFO] [stdout]     |                   |     backing allocation comes from here
[INFO] [stdout]     |                   casting happend here
[INFO] [stdout] 154 |         unsafe { *ptr = $value };
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ethernet/mod.rs:30:9
[INFO] [stdout]     |
[INFO] [stdout] 30  |         write_offset!(self.0, 12, ether_type.value(), u16, to_be)
[INFO] [stdout]     |         --------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: casting from `u8` (1 bytes) to `u16` (2 bytes)
[INFO] [stdout]     = note: `#[deny(invalid_reference_casting)]` on by default
[INFO] [stdout]     = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused
[INFO] [stdout]    --> src/macros.rs:154:18
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type;
[INFO] [stdout]     |                   ---------------------------------------------
[INFO] [stdout]     |                   |     |
[INFO] [stdout]     |                   |     backing allocation comes from here
[INFO] [stdout]     |                   casting happend here
[INFO] [stdout] 154 |         unsafe { *ptr = $value };
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/arp.rs:58:9
[INFO] [stdout]     |
[INFO] [stdout] 58  |         write_offset!(self.0, 0, hardware_type.value(), u16, to_be)
[INFO] [stdout]     |         ----------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: casting from `u8` (1 bytes) to `u16` (2 bytes)
[INFO] [stdout]     = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused
[INFO] [stdout]    --> src/macros.rs:154:18
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type;
[INFO] [stdout]     |                   ---------------------------------------------
[INFO] [stdout]     |                   |     |
[INFO] [stdout]     |                   |     backing allocation comes from here
[INFO] [stdout]     |                   casting happend here
[INFO] [stdout] 154 |         unsafe { *ptr = $value };
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/arp.rs:62:9
[INFO] [stdout]     |
[INFO] [stdout] 62  |         write_offset!(self.0, 2, protocol_type.value(), u16, to_be)
[INFO] [stdout]     |         ----------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: casting from `u8` (1 bytes) to `u16` (2 bytes)
[INFO] [stdout]     = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused
[INFO] [stdout]    --> src/macros.rs:154:18
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type;
[INFO] [stdout]     |                   ---------------------------------------------
[INFO] [stdout]     |                   |     |
[INFO] [stdout]     |                   |     backing allocation comes from here
[INFO] [stdout]     |                   casting happend here
[INFO] [stdout] 154 |         unsafe { *ptr = $value };
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/arp.rs:74:9
[INFO] [stdout]     |
[INFO] [stdout] 74  |         write_offset!(self.0, 6, operation.value(), u16, to_be)
[INFO] [stdout]     |         ------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: casting from `u8` (1 bytes) to `u16` (2 bytes)
[INFO] [stdout]     = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused
[INFO] [stdout]    --> src/macros.rs:154:18
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type;
[INFO] [stdout]     |                   ---------------------------------------------
[INFO] [stdout]     |                   |     |
[INFO] [stdout]     |                   |     backing allocation comes from here
[INFO] [stdout]     |                   casting happend here
[INFO] [stdout] 154 |         unsafe { *ptr = $value };
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ipv4.rs:91:9
[INFO] [stdout]     |
[INFO] [stdout] 91  |         write_offset!(self.0, 2, total_length, u16, to_be);
[INFO] [stdout]     |         -------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: casting from `u8` (1 bytes) to `u16` (2 bytes)
[INFO] [stdout]     = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused
[INFO] [stdout]    --> src/macros.rs:154:18
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type;
[INFO] [stdout]     |                   ---------------------------------------------
[INFO] [stdout]     |                   |     |
[INFO] [stdout]     |                   |     backing allocation comes from here
[INFO] [stdout]     |                   casting happend here
[INFO] [stdout] 154 |         unsafe { *ptr = $value };
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ipv4.rs:95:9
[INFO] [stdout]     |
[INFO] [stdout] 95  |         write_offset!(self.0, 4, identification, u16, to_be);
[INFO] [stdout]     |         ---------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: casting from `u8` (1 bytes) to `u16` (2 bytes)
[INFO] [stdout]     = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused
[INFO] [stdout]    --> src/macros.rs:154:18
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type;
[INFO] [stdout]     |                   ---------------------------------------------
[INFO] [stdout]     |                   |     |
[INFO] [stdout]     |                   |     backing allocation comes from here
[INFO] [stdout]     |                   casting happend here
[INFO] [stdout] 154 |         unsafe { *ptr = $value };
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ipv4.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 |         write_offset!(self.0, 6, new_byte, u16, to_be);
[INFO] [stdout]     |         ---------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: casting from `u8` (1 bytes) to `u16` (2 bytes)
[INFO] [stdout]     = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused
[INFO] [stdout]    --> src/macros.rs:154:18
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type;
[INFO] [stdout]     |                   ---------------------------------------------
[INFO] [stdout]     |                   |     |
[INFO] [stdout]     |                   |     backing allocation comes from here
[INFO] [stdout]     |                   casting happend here
[INFO] [stdout] 154 |         unsafe { *ptr = $value };
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ipv4.rs:118:9
[INFO] [stdout]     |
[INFO] [stdout] 118 |         write_offset!(self.0, 10, checksum, u16, to_be);
[INFO] [stdout]     |         ----------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: casting from `u8` (1 bytes) to `u16` (2 bytes)
[INFO] [stdout]     = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused
[INFO] [stdout]    --> src/macros.rs:154:18
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type;
[INFO] [stdout]     |                   ---------------------------------------------
[INFO] [stdout]     |                   |     |
[INFO] [stdout]     |                   |     backing allocation comes from here
[INFO] [stdout]     |                   casting happend here
[INFO] [stdout] 154 |         unsafe { *ptr = $value };
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ipv4.rs:122:9
[INFO] [stdout]     |
[INFO] [stdout] 122 |         write_offset!(self.0, 12, source.octets(), [u8; 4]);
[INFO] [stdout]     |         --------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: casting from `u8` (1 bytes) to `[u8; 4]` (4 bytes)
[INFO] [stdout]     = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused
[INFO] [stdout]    --> src/macros.rs:154:18
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type;
[INFO] [stdout]     |                   ---------------------------------------------
[INFO] [stdout]     |                   |     |
[INFO] [stdout]     |                   |     backing allocation comes from here
[INFO] [stdout]     |                   casting happend here
[INFO] [stdout] 154 |         unsafe { *ptr = $value };
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ipv4.rs:126:9
[INFO] [stdout]     |
[INFO] [stdout] 126 |         write_offset!(self.0, 16, destination.octets(), [u8; 4]);
[INFO] [stdout]     |         -------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: casting from `u8` (1 bytes) to `[u8; 4]` (4 bytes)
[INFO] [stdout]     = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused
[INFO] [stdout]    --> src/macros.rs:154:18
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type;
[INFO] [stdout]     |                   ---------------------------------------------
[INFO] [stdout]     |                   |     |
[INFO] [stdout]     |                   |     backing allocation comes from here
[INFO] [stdout]     |                   casting happend here
[INFO] [stdout] 154 |         unsafe { *ptr = $value };
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ipv6.rs:40:9
[INFO] [stdout]     |
[INFO] [stdout] 40  |         write_offset!(self.0, 4, payload_length, u16, to_be);
[INFO] [stdout]     |         ---------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: casting from `u8` (1 bytes) to `u16` (2 bytes)
[INFO] [stdout]     = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused
[INFO] [stdout]    --> src/macros.rs:154:18
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type;
[INFO] [stdout]     |                   ---------------------------------------------
[INFO] [stdout]     |                   |     |
[INFO] [stdout]     |                   |     backing allocation comes from here
[INFO] [stdout]     |                   casting happend here
[INFO] [stdout] 154 |         unsafe { *ptr = $value };
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ipv6.rs:52:9
[INFO] [stdout]     |
[INFO] [stdout] 52  |         write_offset!(self.0, 8, source.octets(), [u8; 16]);
[INFO] [stdout]     |         --------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: casting from `u8` (1 bytes) to `[u8; 16]` (16 bytes)
[INFO] [stdout]     = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused
[INFO] [stdout]    --> src/macros.rs:154:18
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let ptr = (&mut $buff[$offset]) as *mut _ as *mut $type;
[INFO] [stdout]     |                   ---------------------------------------------
[INFO] [stdout]     |                   |     |
[INFO] [stdout]     |                   |     backing allocation comes from here
[INFO] [stdout]     |                   casting happend here
[INFO] [stdout] 154 |         unsafe { *ptr = $value };
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/ipv6.rs:56:9
[INFO] [stdout]     |
[INFO] [stdout] 56  |         write_offset!(self.0, 24, destination.octets(), [u8; 16]);
[INFO] [stdout]     |         --------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: casting from `u8` (1 bytes) to `[u8; 16]` (16 bytes)
[INFO] [stdout]     = note: this error originates in the macro `write_offset` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rips-packets` (lib test) due to 14 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "c9ff71bb6bc00a7b145692ec8215b771c588c08b0de09f8676c38707797c7d3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c9ff71bb6bc00a7b145692ec8215b771c588c08b0de09f8676c38707797c7d3e", kill_on_drop: false }`
[INFO] [stdout] c9ff71bb6bc00a7b145692ec8215b771c588c08b0de09f8676c38707797c7d3e
